package cn.lystudio.rohmtimeopwide_background_v11.service;

import cn.lystudio.rohmtimeopwide_background_v11.entity.dto.SecDeptDTO;
import cn.lystudio.rohmtimeopwide_background_v11.entity.dto.TopDeptDTO;
import cn.lystudio.rohmtimeopwide_background_v11.entity.po.DepartmentsPO;

import java.util.List;

public interface DepartmentService {
    List<TopDeptDTO> getAll4TopDept();
    int uptDeptEnabled(Integer departmentID, Boolean enabled);
    int delDept(Integer departmentID);
    int addDept(DepartmentsPO departmentsPO);
    int uptDept(DepartmentsPO departmentsPO);
    List<SecDeptDTO> getAll4SecDept();
    List<DepartmentsPO> getAllSecDeptByTopDeptID(Integer topDeptID);
    DepartmentsPO getDeptByID(Integer departmentID);

}
